alpha

open fun alpha(): Float

Returns the opacity channel value in the 0..1 range. When the value is 1, the color is 100% opaque. When 0, the color is 100% transparent.